home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Fonts
/
RegionID.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
484b
|
31 lines
// RegionID.h
#ifndef RegionID_h
#define RegionID_h
#ifndef Integers_h
#include "Integers.h"
#endif
#include <Script.h>
class RegionID
{
private:
uint16 id;
public:
explicit RegionID( uint16 value )
: id( value )
{}
static RegionID US() { return RegionID( verUS ); }
uint16 ID() const { return id; }
bool operator==( RegionID s ) const { return id == s.id; }
bool operator!=( RegionID s ) const { return id != s.id; }
};
#endif